﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Sirian_ScriptEditor.Dialog
{
    public partial class CreateBoss : Form
    {
        public int time;
        public string key;

        public CreateBoss()
        {
            InitializeComponent();
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            if (comboAicraft.SelectedIndex > -1)
            {
                time = (int)numericGameTime.Value;
                key = comboAicraft.SelectedItem.ToString();
                this.DialogResult = DialogResult.OK;
                this.Close();
            }
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
            this.Close();
        }

        private void comboAicraft_SelectedIndexChanged(object sender, EventArgs e)
        {

        }
    }
}
